package com.demo.server.mapper;

import java.util.List;

import com.demo.server.annotation.SqlLimit;
import com.demo.server.entity.Device;
import com.demo.server.entity.dto.DeviceDto;

@SqlLimit
public interface DeviceMapper {
    int deleteByPrimaryKey(String mac);

    int insert(Device row);

    int insertSelective(Device row);

    Device selectByPrimaryKey(String mac);
    
    List<Device> select(DeviceDto row);

    int updateByPrimaryKeySelective(Device row);

    int updateByPrimaryKey(Device row);
}